//
//  YDHomeReModel.h
//  PeiZiWangBei
//
//  Created by LK-IOS on 2017/11/21.
//  Copyright © 2017年 LK-IOS. All rights reserved.
//

#import <Foundation/Foundation.h>
//涨跌颜色
typedef NS_ENUM(NSUInteger, PZHomeReModelPriceColor) {
    Price_Up,
    Price_Down,
    Price_Other,
};


@interface YDHomeReModel : NSObject

/**
 "code": "string",
 "id": 0,
 "lastPrice": 0,
 "name": "string",
 "recommendTime": "2017-11-30T03:43:08.349Z",
 "sort": 0,
 "upDropPrice": 0,
 "upDropSpeed": 0
 **/
@property (nonatomic , copy) NSString *code;
@property (nonatomic , assign) int Id;
@property (nonatomic , copy) NSString *name;
@property (nonatomic , copy) NSString *pinyinAbbr;
@property (nonatomic , copy) NSString *recommendTime;
@property (nonatomic , assign) NSInteger sort;
@property (nonatomic , assign) NSInteger stockId;

@property (nonatomic , copy) NSString *lastPrice;//最新价
@property (nonatomic , copy) NSString *upDropPrice;//涨跌价格
@property (nonatomic , copy) NSString *upDropSpeed;//涨跌幅度



//辅助属性
//涨跌幅度
@property (nonatomic , copy) NSString *persentUpDown;

@property (nonatomic , assign) PZHomeReModelPriceColor priceColor;












@end
